package com.dupengcheng.subject.domain.convert;

import com.dupengcheng.subject.domain.entity.SubjectAnswerBO;
import com.dupengcheng.subject.domain.entity.SubjectInfoBO;
import com.dupengcheng.subject.domain.entity.SubjectOptionBO;
import com.dupengcheng.subject.infra.basic.entity.SubjectInfo;
import com.dupengcheng.subject.infra.basic.entity.SubjectJudge;
import com.dupengcheng.subject.infra.basic.entity.SubjectMultiple;
import com.dupengcheng.subject.infra.basic.entity.SubjectRadio;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface SubjectAnswerConvert {
    
    SubjectAnswerConvert INSTANCE= Mappers.getMapper(SubjectAnswerConvert.class);


    List<SubjectAnswerBO> convertJudgeListTOAnswerList(List<SubjectJudge> subjectJudgeList);

    List<SubjectAnswerBO> convertMultipleToAnswerList(List<SubjectMultiple> subjectMultipleList);

    List<SubjectAnswerBO> convertRadioToAnswerList(List<SubjectRadio> subjectRadioList);
}
